.tp-org-index {
  display: flex;
  flex-flow: column nowrap;
}

.tp-org-row {
  width: 100%;
  height: auto;
  display: flex;
  flex-flow: row nowrap;
  justify-content: flex-start;
  align-items: flex-start;

  .tp-org-col {
    flex-grow: 1;
    position: relative;
    display: flex;
    flex-flow: column nowrap;
    justify-content: center;
    align-items: center;
  }
}

.tp-org-box {
  display: flex;
  flex-flow: row nowrap;
  justify-content: center;
  align-items: center;
  position: relative;

  .tp-org-box--op {
    position: absolute;
    right: 5px;
    top: 0px;
    cursor: pointer;
  }

  .tp-org-box--panel {
    position: absolute;
    right: calc(30px - 100%);
    top: 20px;
    width: 100px;
    border: 1px solid #eee;
    background-color: white;
    z-index: 999;
    display: flex;
    flex-flow: column nowrap;
    padding: 5px 10px;
    box-sizing: border-box;
    font-size: 14px;

    &--btn {
      width: 100%;
      height: 25px;
      display: flex;
      flex-flow: row nowrap;
      align-items: center;
      cursor: pointer;
      color: #409eff;

      span {
        margin-left: 3px;
      }

      &:hover {
        opacity: .8;
      }
    }
  }
}

.tp-org-items {
  width: 100%;

  .tp-org-items--lines {
    width: 100%;
  }

  &--shrinkage-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 16px;
    height: 21px;

    .icon {        
      cursor: pointer;
      background-color: white;
    }
  }
}

.tp-org-svg {
  width: 1em; 
  height: 1em;
  vertical-align: -0.15em;
  fill: currentColor;
  overflow: hidden;
}